//
//  MAShareView.h
//  TritonSDKDemo
//
//  Created by lkbfeng on 2020/8/17.
//  Copyright © 2020 Tencent Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface MAShareActivity : NSObject

@property (nonatomic, strong) UIImage *icon;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, copy) void (^actionBlock)(void);

@end

@interface MAShareView : UIView

@property (nonatomic, assign) BOOL autoRotate;
@property (nonatomic, assign) BOOL needBlurEffect;

@property (nonatomic, copy) NSArray *activityItems;
@property (nonatomic, copy) void (^dismissBlock)(void);
@property (nonatomic, copy) void (^cancelActionBlock)(void);

- (void)showInView:(UIView *)view;
- (void)dismiss;

@end

NS_ASSUME_NONNULL_END
